CREATE TABLE [dbo].[tb_DocentesDeExamen]
(
[idDocenteExamen] [int] NOT NULL IDENTITY(1, 1),
[Examen] [int] NOT NULL,
[Agente] [int] NOT NULL,
[Preside] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_DocentesDeExamen] ADD CONSTRAINT [PK_tb_DocentesDeExamen] PRIMARY KEY NONCLUSTERED  ([idDocenteExamen]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_DocentesDeExamen] WITH NOCHECK ADD CONSTRAINT [FK_tb_DocentesDeExamen_tb_Agentes] FOREIGN KEY ([Agente]) REFERENCES [dbo].[tb_Agentes] ([idAgente])
GO
ALTER TABLE [dbo].[tb_DocentesDeExamen] ADD CONSTRAINT [FK_tb_DocentesDeExamen_tb_Examenes] FOREIGN KEY ([Examen]) REFERENCES [dbo].[tb_Examenes] ([idExamen])
GO
